package com.wkq.net.callback

import com.wkq.net.model.BaseModel
import io.reactivex.rxjava3.core.Observer
import io.reactivex.rxjava3.disposables.Disposable
import retrofit2.HttpException
import java.io.File

/**
 *
 *@Author: wkq
 *
 *@Time: 2025/4/9 14:50
 *
 *@Desc: 文件下载的回调
 */
interface FileDownCallback {
    fun success(path: String?)
    fun onFail(code:Int, msg:String?)
    // 子线程执行
    fun onProgress(progress: Int)
}